﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WinFormsCommands;
using TorchlightModOverseer.Domain;

namespace TorchlightModOverseer.Commands
{
	public class GetModsCommand : ICommand
	{
		public ModsService ModsService { get; set; }

		public CommandResult Execute(CommandContext context)
		{
			var mods = ModsService.GetMods();
			return context.View("ModsView", mods);
		}
	}
}
